import request from '@/utils/request.js'
//事件分类列表查询
export const resumeListService = () =>{
    //在pinia中的响应数据，都不需要.value
    return request.get('/resume')
}
//事件分类列表查询
export const resumeList1Service = (params) =>{
    //在pinia中的响应数据，都不需要.value
    return request.get('/resume/list1',{params:params})
}
//添加
export const resumeAddService = (resumeData)=>{
    return request.post('/resume',resumeData)
}
//修改
export const resumeUpdateService = (resumeData)=>{
    return request.put('/resume',resumeData)
}
//删除
export const resumeDeleteService = (id)=>{
    return request.delete('/resume?id='+id)
}